//
// Created by Administrator on 2020/7/16 0016.
//

#ifndef LIBRARY_BORROWRECORD_H
#define LIBRARY_BORROWRECORD_H


#include "string"
using namespace std;
class BorrowRecord
{
private:
    int m_nBorrowId;
public:
    int getMNBorrowId() const;

    void setMNBorrowId(int mNBorrowId);

    int getMNBookId() const;

    void setMNBookId(int mNBookId);

    int getMNUserId() const;

    void setMNUserId(int mNUserId);

    const string &getMTBorrowDate() const;

    void setMTBorrowDate(const string &mTBorrowDate);

    const string &getMTShouldReturnDate() const;

    void setMTShouldReturnDate(const string &mTShouldReturnDate);

    int getMNContinue() const;

    void setMNContinue(int mNContinue);

private:
//借阅ID
    int m_nBookId;//图书ID
    int m_nUserId;//用户ID
    string m_tBorrowDate;//借阅时间
    string m_tShouldReturnDate;//应该归还时间
    string m_tReturnDate;
public:
    const string &getMTReturnDate() const;

    void setMTReturnDate(const string &mTReturnDate);

private:
//实际归还时间
    int m_nContinue;//续借次数

public:
    BorrowRecord();
    ~BorrowRecord();
};


#endif //LIBRARY_BORROWRECORD_H
